<%--@elvariable id="CURRENT_USER" type="com.doupi.partner.manager.authenticator.filter.CaptchaAuthenticationFilter.onLoginSuccess"--%>
<%--@elvariable id="webRoot" type="com.doupi.partner.op.interceptor.OpFilter"--%>
<%@ page language="java" pageEncoding="UTF-8" %>

<!--[if lte IE 9]>

<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a> 以获得更好的体验！</p>

<![endif]-->

<header class="am-topbar admin-header">
    <div class="am-topbar-brand" onclick="window.location.href='${webRoot}'" style="cursor: pointer;">
        <strong>个人营销号</strong>
        <small>${CURRENT_USER.name}</small>
    </div>

    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}">
        <span class="am-sr-only">导航切换</span>
        <span class="am-icon-bars"></span>
    </button>

    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">

        <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
            <li class="am-dropdown" data-am-dropdown>
                <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:void(0);">
                    <span class="am-icon-users"></span>
                    账号设置
                    <span class="am-icon-caret-down"></span>
                </a>
                <ul class="am-dropdown-content">
                    <li>
                        <a href="${webRoot}/goUpdatePassword">
                            <span class="am-icon-cog"></span>
                            更改密码
                        </a>
                    </li>
                    <li>
                        <a href="${webRoot}/logout?jid=<%=session.getId()%>">
                            <span class="am-icon-power-off"></span>
                            安全退出
                        </a>
                    </li>
                </ul>
            </li>
            <li class="am-hide-sm-only">
                <a href="javascript:void(0);" id="admin-fullscreen">
                    <span class="am-icon-arrows-alt"></span>
                    <span class="admin-fullText">开启全屏</span>
                </a>
            </li>
        </ul>
    </div>
</header>